//
//  InfoItemArrow.m
//  ZzzzyManProject
//
//  Created by mac on 16/3/4.
//  Copyright © 2016年 ZzzzyMan@. All rights reserved.
//

#import "InfoItemArrow.h"

@implementation InfoItemArrow

//需要跳转控制器的方法
+ (instancetype) infoItemWithIconName:(NSString *)optionImageName andTitle:(NSString *)title andController:(Class)controller {
    InfoItemArrow * item = [self infoItemWithIconName:optionImageName andTitle:title];
    item.Controller = controller;
    return item;
    
}

//需要额外操作的方法
+ (instancetype) infoItemWithIconName:(NSString *)optionImageName andTitle:(NSString *)title andOption:(InfoItemArrowOption) option {
    InfoItemArrow * item = [self infoItemWithIconName:optionImageName andTitle:title];
    item.option = option;
    return item;
}

@end
